
// 专题
export const useLoadAdminSpecialListApi = (body) => {
    return useHttpPost(`/v1/adminspecial/list`,{body})
}
// 修改
export const useUpdateAdminSpecialApi = (body) => {
    return useHttpPost(`/v1/adminspecial/update/status`,{body})
}

// 保存修改
export const useSaveUpdateAdminSpecialApi = (body) => {
    return useHttpPost(`/v1/adminspecial/saveupdate`,{body})
}

// 查看兑换码
export const useLoadAdminSpecialCodeApi = (body) => {
    return useHttpPost(`/v1/adminspecial/code/list`,{body})
}

// 保存修改兑换码
export const useSaveUpdateAdminSpecialCodeApi = (body) => {
    return useHttpPost(`/v1/adminspecial/code/saveupdate`,{body})
}

// 批量兑换
export const useBatchAdminSpecialApi = (body) => {
    return useHttpPost(`/v1/adminspecial/batch/users`,{body})
}

// 修改状态
export const useUpdateAdminSpecialCodeApi = (body) => {
    return useHttpPost(`/v1/adminspecial/code/update/status`,{body})
}

// 删除
export const useDelAdminSpecialApi = (id) => {
    return useHttpPost(`/v1/adminspecial/del/${id}`,{})
}

// 删除
export const useDelAdminSpecialCodeApi = (id) => {
    return useHttpPost(`/v1/adminspecial/code/del/${id}`,{})
}

/**
 * 根据专题id查询明细信息
 */
export const useLoadAdminSpecialDetail = (id) => {
    return useHttpPost(`/v1/adminspecial/detail/${id}`,{})
}



// 保存修改
export const useSaveUpdateAdminSpecialBindApi = (body) => {
    return useHttpPost(`/v1/adminspecial/bind/saveupdate`,{body})
}

// 修改状态
export const useUpdateAdminSpecialBindApi = (body) => {
    return useHttpPost(`/v1/adminspecial/bind/update/status`,{body})
}

// 删除
export const useDelAdminSpecialBindApi = (id) => {
    return useHttpPost(`/v1/adminspecial/bind/del/${id}`,{})
}


// 保存修改
export const useSaveUpdateAdminSpecialBindDetailApi = (body) => {
    return useHttpPost(`/v1/adminspecial/binddetail/saveupdate`,{body})
}

// 修改状态
export const useUpdateAdminSpecialBindDetailApi = (body) => {
    return useHttpPost(`/v1/adminspecial/binddetail/update/status`,{body})
}

// 删除
export const useDelAdminSpecialBindDetailApi = (id) => {
    return useHttpPost(`/v1/adminspecial/binddetail/del/${id}`,{})
}

// 删除
export const useDelAdminSpecialUserOrderApi = (id) => {
    return useHttpPost(`/v1/adminspecial/del/order/${id}`,{})
}

// 复制
export const useCopyAdminSpecialApi = (id) => {
    return useHttpPost(`/v1/adminspecial/copy/${id}`,{})
}